#include<cstdio>
int getsZiFuChuangChangDu(char a[]){
	int i=0;
	int count=0;
	while(a[i]!='\0'){
		i++;
		count++;
	}
	return count;
}

int main(){
	char a[200];
	int yesorno=1;
	gets(a);
	int len;
	len =getsZiFuChuangChangDu(a);
	for(int i=0;i<=len-1/2;i++){
		if(a[i]!=a[len-1-i]){
			printf("No");
			yesorno=0;
			break;
		}
		i++; 
	}
	if(yesorno==1){
		printf("Yes");
	}
}
